//
//  TempViewController.swift
//  Weibo
//
//  Created by 冯童童 on 16/1/20.
//  Copyright © 2016年 冯童童. All rights reserved.
//

import UIKit

class TempViewController: UIViewController {

    @objc private func push() {
        
        let temp = TempViewController()
        navigationController?.pushViewController(temp, animated: true)
    }
    
       override func viewDidLoad() {
        super.viewDidLoad()
        
        view.backgroundColor = UIColor.whiteColor()
        
        navigationItem.rightBarButtonItem = UIBarButtonItem(title: "push", style: .Plain, target: self, action: "push")
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }
    

}
